//Naming
Name Sturmgeschutz III Ausf. F
ShortName StugNormal
ItemID 7442
//Visuals
Icon Stug
Model monolith.Stug
Texture StugNormal
RotateWheels False
//Third Person Camera Distance
CameraDistance 12.5
//Throttle
MaxThrottle 4.5
MaxNegativeThrottle 0.0
//Steering modifiers
TurnLeftSpeed 4
TurnRightSpeed 4
//Drag
Drag 10.0
//Mass (In tons)
Mass 2.0
//Moment of Inertia (in crazy units. Just fiddle with this until you find something nice)
MomentOfInertia 100.0
//For calculating whether wheels are on the ground or not for driving
WheelRadius 1.5
//Bouncy bouncy
Bounciness 0.3
//If true, then all wheels will apply drive forces
FourWheelDrive true
//Tank mode activate
Tank true
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 1000
//Inventory Slots
CargoSlots 0
ShellSlots 5
//Driver and passenger positions
Driver 6 0 -12 -10 10 -5 50
RotatedDriverOffset 0 0 0
Passengers 0
BarrelPosition 0 18 0
//Secondary gun
//AddGun 8 34 8 turret mg42
//Delays are in ticks or 1/20ths of seconds
ShootDelay 2
ShellDelay 80
//Sounds
StartSound Engine
StartSoundLength 20
EngineSound Engine
EngineSoundLength 20
ShootSound bullet
ShellSound T72Shell
//Recipe
//Each section of the plane may have many parts
//The sections are tailWheel, tail, bay, topWing, leftWingWheel, leftWing, rightWingWheel,
//rightWing, nose, turret, coreWheel, core
AddRecipeParts turret 1 27082_Part_Turret_Artillery 6 27020_Mat_Armor_Steel
AddRecipeParts core 1 27067_Part_Chassis_Tank 12 27020_Mat_Armor_Steel 4 log
AddRecipeParts leftTrack 1 27075_Part_Wheel_Tanktrack
AddRecipeParts rightTrack 1 27075_Part_Wheel_Tanktrack
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 8 gray
AddDye 2 white
//Health and collision
SetupPart turret 400 -38 15 -31 76 0 62
SetupPart core 650 -38 -2 -22 80 17 44
SetupPart leftTrack 300 -45 -10 -30 80 22 8
SetupPart rightTrack 300 -45 -10 22 80 22 8

BulletDetection 5